package com.cskaoyan.Utils;

import org.springframework.util.DigestUtils;

/**
 * @author hsp
 * @date 2021/5/15 0:03
 */
public class Md5Utils {


    public static String getMd5Salt(String password){
        String salt = "salt#$123";
        String md5Salt = DigestUtils.md5DigestAsHex((salt + password).getBytes());
        return md5Salt;
    }
}
